""" 插件 """

from django.forms import RadioSelect


class ColorRadioSelect(RadioSelect):
    # template_name = 'django/forms/widgets/radio.html'
    # option_template_name = 'django/forms/widgets/radio_option.html'
    # 重写RadioSelect 原本RadioSelect 上面的两个方法
    template_name = 'widgets/color_radio/rdio.html'
    option_template_name = 'widgets/color_radio/radio_option.html'
